﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel
Imports System.Xml.Serialization

Namespace roncliProductions.LibWowArmory.Character.Search.Schema

    Public Class searchResults

        <XmlAttribute()> Public Property pageCount As Integer
        <XmlAttribute()> Public Property pageCurrent As Integer
        <XmlAttribute()> Public Property searchError As String
        <XmlAttribute()> Public Property searchFilter As String
        <XmlAttribute()> Public Property searchMsg As String
        <XmlAttribute()> Public Property searchText As String
        <XmlAttribute()> Public Property searchType As String
        <XmlAttribute()> Public Property url As String
        <XmlAttribute()> Public Property version As String

        Private fFilters As New Collection(Of filters)
        <XmlElement()> Public ReadOnly Property filters As Collection(Of filters)
            Get
                Return fFilters
            End Get
        End Property

        Private cCharacters As New Collection(Of characters)
        <XmlElement()> Public ReadOnly Property characters As Collection(Of characters)
            Get
                Return cCharacters
            End Get
        End Property

    End Class

End Namespace